<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>CreateText3D</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">CreateText3D()</font></b></p>
<p><b>语法</b></p><blockquote>

Result = <font color="#006666"><b>CreateText3D</b></font>(#Text3D, Caption$ [, Font$, Height, Color])</blockquote>

<b>概要</b><br><blockquote>



Creates a new 3D text. To be displayed, the text needs to be attached to a 
LibraryLink "node" "node" or an <a href="../entity/index.html">entity</a>. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Text3D</i></td>
<td width="90%"> 
 
The number to identify the new 3D text. <a href="../reference/purebasic_objects.html">#PB_Any</a> can be used to 
auto-generate this number. 

 

</td></tr>
<tr><td><i>Caption$</i></td>
<td> 
 
The text caption to display. It can be changed with <a href="text3dcaption.html">Text3DCaption()</a>. 

 

</td></tr>
<tr><td><i>Font$ (optional)</i></td>
<td> 
 
The font name to use. 

 

</td></tr>
<tr><td><i>Height (optional)</i></td>
<td> 
 
The font height to use. 

 

</td></tr>
<tr><td><i>Color (optional)</i></td>
<td> 
 
The RGB color to use. To get a valid color, use <a href="../2ddrawing/rgb.html">RGB()</a>. The color can be changed with <a href="text3dcolor.html">Text3DColor()</a>. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>



Returns nonzero if the text was created successfully and zero if there was an error. 
If <font color="#924B72">#PB_Any</font> was used as the #Text3D parameter then the new generated number is returned on success. 

 

</blockquote><p><b>参阅</b></p><blockquote>

<a href="freetext3d.html">FreeText3D()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center><a href=index.html>Text3D Index</a> - <a href=freetext3d.html>FreeText3D()</a> -&gt;



</body></html>